package com.zjl.spring.lite;

import org.springframework.context.annotation.Bean;
import org.springframework.stereotype.Component;

/**
 * @Auther: zhuangjl
 * @Date: 2021/11/30 9:23
 */
@Component
public class LiteConfiguration {

    @Bean
    public LiteAMode liteAMode(LiteBMode liteMode) {
        return new LiteAMode(liteMode);
    }
    @Bean
    public LiteBMode liteBMode( ) {
        return new LiteBMode();
    }
}
